The open source game server framework Firefly officially integrates GFirefly!

The open source game server framework Firefly officially integrates GFirefly!

[[124939]]

GFirefly, an important iteration of Firefly, has been independently launched and maintained for nearly 9 months. More than 200 major domestic mobile game manufacturers have begun to use GFirefly to develop their new mobile game products. (Longtu Game, the biggest dark horse in the domestic game industry in 2014, has 3 self-developed products that all use GFirefly)

Since GFirefly has been basically stable since version 0.1.2, Firefly officially announced that GFirefly will be integrated into the Firefly official git.

GFirefly (full name: Firefly-Gevent) is the Gevent version of Firefly. Compared with Twisted used in previous Firefly versions, Gevent is more streamlined and efficient.

GFirefly combines the performance of Gevent, encapsulates network IO processing, database IO read and write cache, and distributed inter-process interface calls, making the development of the game server easy, simple, stable and efficient. Developers do not have to worry about these technical problems and can focus on the development of game play logic.

Compared with the previous Firefly, GFirefly omits the step of adding a callback function during the remote call process.

You can write remote calls like this:

result = root.callChild("test_node",1,u'Root test')

#This will not block, other coroutines will be executed before the result is returned

print result

#When the result is returned, the execution will continue

The updated GFirefly alpha 0.1.5 has made the following improvements:

1. A single node automatically reconnects after disconnecting from the root node.

2. Modified GFirefly's underlying library GTiwsted (Firefly official self-developed) to put the socket sending data into a coroutine for processing. When sending data, the sent data will be placed in a queue and read and sent by the coroutine that sends the data, solving the error of AssertionError: This socket is already used by another greenlet.

Firefly official maintenance team: 9 Seconds Community

Firefly Git address (including gfirefly): https://github.com/9miao/Firefly

Firefly OSC@GIT address: http://git.oschina.net/9miao/firefly

GFirefly independent Git address: https://github.com/9miao/G-Firefly

GTwisted independent Git address: https://github.com/9miao/gtwisted

<<:  CrossApp 0.4.2 released, grand introduction of WebView

>>:  Analysis of isolated storage mechanism in Windows Phone 8

Recommend

Solid info! Content operation and its development trends in 2018!

Just talking about operations , many friends may ...

Information flow delivery trends of Bytedance, Baidu, and Guangdiantong in 2022!

Today, let’s take a look at the three major infor...

Experienced APP operators, is this how they attract users?

If you think of an APP as a car, then the operato...

Are the small fragments picked off from the teeth a sign of tooth damage?

gossip “Sometimes you can pick off small pieces o...

Your memory may be surpassed by chimpanzees | Nature Trumpet

Welcome to the 50th issue of the Nature Trumpet c...

6-step principles for advertising in the food industry!

In 2019, the total retail sales of social e-comme...

WeChat Enterprise Account Certification Review Process

Review time 1. Whether the enterprise account cer...

Fermentation gives yogurt its "magic", but probiotics may not have the "magic"

In daily life, yogurt is a favorite of many peopl...

Gynecological master or devil from hell? The Dr. Sims you don’t know!

Get the nine-valent vaccine, do HPV screening, TC...