iTXTech / Synapse

High performance load balance server for Minecraft: Bedrock Edition.
GNU General Public License v3.0
33 stars 15 forks source link

Natives? #51

Closed ghost closed 5 years ago

ghost commented 5 years ago

What about implement natives?

I know exist a RakLib native for ALL COMPONENTS, in C and a little things from Velocity:

https://github.com/VelocityPowered/Velocity/tree/master/native

You know, for performance.

I like projects when are seriosly projects and really good performance built-in.

Edit: Will be a proxy now, right? Not a plugin for Nemisys?

PeratX commented 5 years ago

Will consider it after the basic RakNet and Synapse Server is implemented

I have viewed the project you provided. zlib mbedTLS are native and the others aren't. We have zlib & openssl extension in php, so I don't think we need them.

ghost commented 5 years ago

Probably them can be more efficient?

PeratX commented 5 years ago

Almost the same.

ghost commented 5 years ago

from what i know, php it's so bad on performance, why just not give a chanse? :p try with both

PeratX commented 5 years ago

It's not. The brand-new Synapse will be a high performance server.

ghost commented 5 years ago

Ok, will see.

ghost commented 5 years ago

And why not create in java, you create in php? Java is FASTER, or c# ? :p i know you know java, idk about c#

PeratX commented 5 years ago

Java maybe faster, but it will take more time to development. We are using swoole, coroutine-based concurrency library for PHP. Server software built on top of it is very fast and efficient, you should review some benchmarks and reports.

ghost commented 5 years ago

ok, your decision :)

ghost commented 5 years ago

Btw, i don't see any code from "swoole", did you added or?

PeratX commented 5 years ago

Swoole is a php extension. See ide-helper

ghost commented 5 years ago

Wait a second, "The brand-new Synapse will be a high performance server.", Will be a server software, not a proxy?

PeratX commented 5 years ago

proxy server.

ghost commented 5 years ago

Ok. I wait commits ;)

ghost commented 5 years ago

btw, make them full multithreaded.

PeratX commented 5 years ago

This project will be a proxy server framework. You need to construct a full-featured server by yourself. Designed to be lightweight, highly extensible.

swoole is using its own multi process model, we don't need to care about how it works.

ghost commented 5 years ago

news? @PeratX

PeratX commented 5 years ago

50 days before University Entrance Exam. Considering use single process Coroutine to manage raknet session for better coding experience.

ghost commented 5 years ago

ok, i will wait 50 days

Erkam246 commented 5 years ago

How much days left ?

ghost commented 5 years ago

22.

Erkam246 commented 5 years ago

D:

PeratX commented 5 years ago

project suspended. no need to continue. easecation choose to improve nemisys

Erkam246 commented 5 years ago

rip

ghost commented 5 years ago

@PeratX i don't like that.

ghost commented 5 years ago

@PeratX them will do nothing, i swear. Them do nothing on github from what you can see. It's really hard to work on a good project? :/