• Stars
    star
    577
  • Rank 77,363 (Top 2 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created almost 8 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A socket server (include SSL) supports realtime application, realtime game, MMORPG, messaging, chat and streaming data with TCP, UDP and Websocket

ezyfox-server

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

  1. Android
  2. C/C++
  3. CSharp
  4. Flutter
  5. Java
  6. Javascript ECMAScript 6
  7. Javascript
  8. Netty
  9. Swift
  10. React Native

Products

  1. Defi Warrior

Demos

  1. Free Chat
  2. Space Game Cocos2d-x
  3. Space Shooter Unity
  4. Lucky Wheel Phaser HTML5
  5. One Two Three Simple Game Server
  6. Easy Smashers Unity

Tutorials:

  1. EzyChat: A simple realtime chat application
  2. EzyRoulette: A simple lucky wheel game

Tests

Navigate to the source folder and run:

mvn test

Contact us

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

More Repositories

1

ezyfox-server-flutter-client

a flutter socket client sdk for ezyfox-server
Objective-C++
49
star
2

freechat

freechat for everyone
Java
34
star
3

ezyfox

Java library supports for reflection, generic, annotations parsing, bean management and object binding
Java
23
star
4

ezyfox-server-csharp-client

csharp client for ezyfox server
C#
22
star
5

ezydata

Supports to interact to data, memory caching and database
Java
14
star
6

game-box

A Scalable Server Engine for Online/Multi-player/Real-time Games powered by Ezyfox Server
Java
13
star
7

ezyhttp

support to interact to http (both http client and http server)
Java
12
star
8

ezyfox-server-es6-client

ezyfox-server-es6-client
JavaScript
9
star
9

ezyfox-server-react-native-client

ezyfox-react-native-client
Java
7
star
10

ezyfox-server-cpp-client

c++ client for ezyfox server
C++
7
star
11

ezyfox-server-android-client

ezyfox-server-android-client
Java
6
star
12

ezyfox-boot

boot project for ezyfox
Java
4
star
13

ezyfox-server-js-client

ezyfox server javascript client
JavaScript
3
star
14

quick-rpc

support to call rpc via ezyfox-server
Java
3
star
15

calabash

calabash memory caching
Java
3
star
16

ezyfox-sfs2x

Deprecated, no longer maintain!!! The project supports for interaction to smartfox server 2x. Please use our ezyfox-server framework: https://github.com/youngmonkeys/ezyfox-server
Java
2
star
17

dahlia

A NoSQL database library, support local storage and server storage
Java
2
star
18

ezyfox-server-archetype

ezyfox-server-archetype
Java
2
star
19

ezyfox-sfs2x-archetype

Deprecated, no longer maintain!!! Please use our ezyfox-server framework: https://github.com/youngmonkeys/ezyfox-server
Java
2
star
20

ezyfox-server-java-client

ezyfox-server-java-client
Java
2
star
21

licenses

List of Young Monkeys Licenses
1
star
22

ezyfox-server-swift-client

ezyfox-server-swift-client
Swift
1
star
23

ezyfox-core

base library
Java
1
star
24

mvc.js

mvc for javascript, support for event-driven
JavaScript
1
star
25

ezyfox-db

Deprecated, no longer maintain!!! A SQL convenience library for Java built on top of Hibernate
Java
1
star