Avatar
0
tvd12 Enlightened
tvd12 Enlightened
[EzyFox Server] EzySimpleSessionManagementSetting, stress test
<div class="markdown-block">E xin lỗi vì phiền anh giờ này. A có thể trả lời khi rảnh ạ. Tại em chỉ muốn hiểu thêm về cấu trúc của Ezyfox. Điểm khác biệt của EzySimpleSessionManagementSetting và EzySessionManagementSettingBuilder là gì ạ? Mình nên xài cái nào cho phần EzySimpleSetting? Việc stress test bắt buộc phải trong điều kiện mạng ổn định và băng thông phải mạnh à anh? Kiểu em về nhà test ở mạng nhà trọ thì nó run ngáo luôn reconnection udp r tcp socket ạ.</div>
Answer
Avatar
0
tvd12 Enlightened
tvd12 Enlightened
Hỏi thêm về response từ ezyfox server về client
<div class="markdown-block">Anh ơi, em muốn hỏi thêm về response từ Server về client. Phía dưới là đoạn main trong TCPSocket của em, em mong muốn là nó chỉ login 1 lần và trả về kết quả chỉ 1 lần thôi. Hiện tại em đang bị nó trả về liên tục nên không thể biết được là số response / user là bao nhiêu và cũng như là số request / giây, số response / giây, số response / số request. </div><div class="markdown-block">public static void main(String[] args) {</div><div class="markdown-block">DefaultClientConfig clientConfig = new DefaultClientConfig();</div><div class="markdown-block">SocketClientSetup setup = new SocketClientSetup("tcp-socket");</div><div class="markdown-block">EzyClients clients = EzyClients.getInstance();</div><div class="markdown-block">EzyEventLoopGroup eventLoopGroup = new EzyEventLoopGroup(1);</div><div class="markdown-block">EventLoopGroup nettyEventLoopGroup = new EzyNettyEventLoopGroup(1);</div><div class="markdown-block">LocalDateTime Starttime = java.time.LocalDateTime.now();</div><div class="markdown-block">LocalDateTime Endtime = null;</div><div class="markdown-block">long differentInSeconds = 0;</div><div class="markdown-block">new Thread(() -&gt; {</div><div class="markdown-block">int clientCount = 10;</div><div class="markdown-block">for (int i = 0; i &lt; clientCount; i++) {</div><div class="markdown-block">EzyTcpClient client = new EzyTcpClient(</div><div class="markdown-block">clientConfig.get(i),</div><div class="markdown-block">eventLoopGroup,</div><div class="markdown-block">nettyEventLoopGroup</div><div class="markdown-block">);</div>
Answer
Avatar
0
tvd12 Enlightened
tvd12 Enlightened
Hỏi về stress test cho ezyfox server
<div class="markdown-block">Anh ơi, em xin phép được hỏi một số câu. Việc kết nối stress test có thể chạy ở 1 máy khác mà k nhất thiết server phải chạy không anh? Như hình 1 thì muốn chạy stress test phần login mình sẽ cho 5 máy khác chạy phần này đúng không anh? <a href="https://github.com/tvd12/ezyfox-server-example/tree/master/message-stresstest" class="markdown-link" target="_blank">https://github.com/tvd12/ezyfox-server-example/tree/master/message-stresstest</a>Làm sao để chúng ta biết được là server có thể chịu bao nhiêu player login hay call API? và cũng như tính toán số lượng TCP hay UDP tối đa mà server có thể nhận và respone được ạ? Nếu mà chỉ test mỗi phần login thì chắc em chỉ cần trả phần message cho respone biết được là nó đã trả về bao nhiêu message của TCP hoặc là UDP phải k anh?Em cám ơn anh ạ.</div>
Answer
Avatar
1
MisYuy Beginner
MisYuy Beginner
Cannot access to local IP address 127.0.0.1
Answer
Avatar
0
monkey Enlightened
monkey Enlightened
EzyFox Server: Bắt sự kiện khi một trong những user trong App ngắt kết nối
Answer
Avatar
0
monkey Enlightened
monkey Enlightened
EzyFox Server: Lưu thông tin vào AppContext
Answer
Avatar
0
monkey Enlightened
monkey Enlightened
EzyFox Server: Lấy danh sách user của tất cả các App khi xử lý request từ 1 app bất kỳ
Answer
Avatar
0
monkey Enlightened
monkey Enlightened
EzyFox Server CSharp Client: Convert EzyObject, EzyArray to C# Object
Answer
Avatar
0
monkey Enlightened
monkey Enlightened
EzyFox Server: Gọi request đến plugin có cần phải join app trước không?
Answer
Avatar
0
monkey Enlightened
monkey Enlightened
EzyFox Server: Response UDP đến client
Answer
Avatar
0
monkey Enlightened
monkey Enlightened
EzyFox Server: trước khi access vào app thì có cách nào để get được số user trong app đó ko?
Answer
Avatar
0
monkey Enlightened
monkey Enlightened
EzyFox Server: Làm thế nào để tạo được nhiều zone, nhiều app, nhiều plugin trên server?
Answer