ezyfox-server
- Features
- Benchmark
- Introduction
- Get started
- Documentation
- Latest Version
- Code Example
- Client SDKs
- Products
- Demos
- Tutorials
- Tests
- Contact us
Required
- Java version: 1.8
Features
- Core Container & Dependency Injection: Includes bean manipulation, auto-binding, auto-implementation, and more.
- Multiple Communication Protocols: Supports TCP, UDP, WebSocket, and HTTP.
- Traffic Encryption: Allows for traffic between clients and servers to be encrypted using SSL.
- Multiple Client SDKs: Includes Android, iOS, Unity, React, C++, Flutter, and more.
Benchmark
Ezyfox Server's benchmark involved broadcasting messages to 1000 concurrent users in one hour on a VPS with 512MB of RAM and 1 CPU core. You can watch this video to see how we conducted the test.
Introduction
To develop online games rapidly, developers often need to use a game server engine like SmartFoxServer or Photon. Unfortunately, these engines come with a high price tag, especially as more and more users engage with our products. That's why we developed the EzyFox ecosystem, which aims to be free and open for anyone interested in building multiplayer games and applications.
The EzyFox ecosystem supports a wide range of essential components for enterprise product development, including TCP, UDP, WebSocket protocols with SSL encryption, HTTP RESTful API, Remote Procedure Call (RPC) protocol, Database Interaction, Memory Caching, and Message Queue.
With the EzyFox ecosystem, we can avoid the headache of choosing which technologies to use to manage and scale up an application, allowing us to focus solely on implementing business logic.
Getting Started
https://youngmonkeys.org/get-started/
Documentation
https://youngmonkeys.org/ezyfox-sever/
Latest version
You can download it here
Code Example
1. Create an app entry
public static class HelloAppEntry extends EzySimpleAppEntry {
@Override
protected String[] getScanablePackages() {
return new String[] {
"com.tvd12.ezyfoxserver.embedded.test" // replace by your package
};
}
}
2. Create a plugin entry
public static class HelloPluginEntry extends EzySimplePluginEntry {
@Override
protected String[] getScanablePackages() {
return new String[] {
"com.tvd12.ezyfoxserver.embedded.test" // replace by your package
};
}
}
3. Setup
EzyPluginSettingBuilder pluginSettingBuilder = new EzyPluginSettingBuilder()
.name("hello")
.addListenEvent(EzyEventType.USER_LOGIN)
.entryLoader(HelloPluginEntryLoader.class);
EzyAppSettingBuilder appSettingBuilder = new EzyAppSettingBuilder()
.name("hello")
.entryLoader(HelloAppEntryLoader.class);
EzyZoneSettingBuilder zoneSettingBuilder = new EzyZoneSettingBuilder()
.name("hello")
.application(appSettingBuilder.build())
.plugin(pluginSettingBuilder.build());
EzySimpleSettings settings = new EzySettingsBuilder()
.zone(zoneSettingBuilder.build())
.build();
4. Create and start a server
EzyEmbeddedServer server = EzyEmbeddedServer.builder()
.settings(settings)
.build();
server.start();
You can find the full example here
Client SDKs
Products
Demos
- Free Chat
- Space Game Cocos2d-x
- Space Shooter Unity
- Lucky Wheel Phaser HTML5
- One Two Three Simple Game Server
- Easy Smashers Unity
Tutorials:
- EzyChat: A simple realtime chat application
- EzyRoulette: A simple lucky wheel game
Tests
Navigate to the source folder and run:
mvn test
Contact us
- Get in touch with us on Facebook
- Ask us on stackask.com
- Email us at Dzung
Help us by making a donation.
Currently, our operating budget is fully supported by our own salaries, and all product development is still based on voluntary contributions from a few organization members. The low budget is causing significant difficulties for us. Therefore, with a clear roadmap and an ambitious goal to provide intellectual products for the community, we would greatly appreciate your support in the form of a donation to help us take further steps. Thank you in advance for your meaningful contributions!
https://youngmonkeys.org/donate/
License
- Apache License, Version 2.0