Commit Graph

184 Commits

Author SHA1 Message Date
abdussamedulutas 63680fac19 #31: WebRTC signaling paritesi — engine relay testi
Sinyalleşme (offer/answer/ICE) ayrı bir engine kavramı değil; SDK bunları
{type:':rtcpack:', payload} olarak pack/to üzerinden tüneller (Node ile aynı,
sunucuda RTC handler'ı yok). Engine bu paketleri her iki yönde de payload'ı
incelemeden aynen taşır. Test: TestWebRTCSignalingRelay.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 08:13:22 +03:00
abdussamedulutas 91ebbeffb2 #33: EventPool WOM — askıda kalan promise düzeltmesi
Engine: dispatcher handler nil dönerse yanıt göndermez (nil = yanıt yok /
cevap out-of-band gelecek). Bu, request/to'nun erken [null,id,'E'] ile
ezilmesini önler; gerçek cevap response/to ile aynı id üzerinden gelir.

SDK: EventPool.only() WOM yolu eklendi (waiter bırakmaz); Peer.send ve
Room.send handshake'siz dalı request() yerine only() kullanır. Public API
değişmedi.

Test: TestServerNoReplyOnNilResult, TestRequestResponseRoundTrip,
TestTunnelDoesNotLeakSourceAddress, TestTunnelLargePayloadIntact. go test -race yeşil.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 08:11:29 +03:00
abdussamedulutas f079ef5325 Ajan çalışma sözleşmesi + gitea CLI + yol haritası dosyaları
CLAUDE.md (operating contract), todo.md (roadmap), tools/gitea CLI ve
.gitea-auth.example.json depoya eklendi. Gerçek .gitea-auth.json gitignore'da.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 08:08:05 +03:00
abdussamedulutas c058feb22d Ölçek ayarı, leak sağlamlaştırma ve #27/#28/#29 paritesi
Yüksek bağlantı sayısı + sürekli mesaj trafiği için engine'i sağlamlaştırır;
sınırsız bellek büyümesini (leak) kapatır; 1.0.0 engine parite issue'larını
(oda/pairing/sanal adresleme) tamamlar.

Ölçek/pool ayarı (config.ConnConfig, env-tunable, varsayılanlar yüksek):
- OutboundBuffer 1024, MaxMessageSize 16 MiB, read/write buffer, ping/pong/write
  timeout'ları yapılandırılabilir.
- gorilla WriteBufferPool (paylaşımlı sync.Pool) — yüksek bağlantıda büyük
  bellek tasarrufu. 150 bağlantı + ağır trafikte RSS ~43 MB.
- Dolu buffer'da düşür-ama-kapatma → relay teslimat %99.98 (150 bağlantı).

Leak düzeltmeleri (churn altında sınırsız büyüme yok):
- Pairing ters-indeksi (pairedBy): disconnect'te X'e değen tüm pair kenarları
  O(derece) temizlenir; tek-yönlü bekleyen istek çöpü kalmaz.
- Davet bekleme listesi: istemci waiting odalarını tutar, disconnect'te düşülür.
- realloc artık farklı adres verir (önce al sonra bırak).

#27/#28/#29 paritesi + ifexistsJoin; kapsamlı parite + leak testleri eklendi.
go build/vet/test -race ./... yeşil (18 servis testi). Detay: decisions.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 07:43:54 +03:00
abdussamedulutas 835f0b5f2e Go engine portu (0.1.0 çekirdek) — Node.js engine'i race-free Go'ya taşı
MWSE engine'i (Source/) performans odaklı, eşzamanlılık-güvenli bir Go
projesine taşır. WSTS tel sözleşmesi (SDK giriş/çıkış) korunur; frontend
dokunulmadan çalışmaya devam eder.

- internal/protocol: WSTS encode/decode (request/response/stream/signal)
- internal/ws: Client (bağlantı-başına tek-yazıcı), Room (RWMutex + snapshot
  broadcast), Hub (kayıt + router + event bus), Server (yaşam döngüsü, saQut
  heartbeat). #22 "ayrılırken-yazma" race'i yapısal olarak çözüldü.
- internal/services: YourID, Session, Auth, Room, IPPressure, DataTransfer
  portu (Node'daki bariz bug'lar düzeltildi; tel şekilleri korundu).
- internal/config, internal/httpserver: env config, statik + /api + graceful
  shutdown.
- loadtest/: ayrı modül — ping/relay yük testi + benchmark istemcisi.

go build/vet/test -race ./... yeşil. TestLeaveWhileSendRace regresyonu temiz.
Uçtan uca doğrulandı: ping ~140k req/s (p50 ~200µs, 0 hata),
relay ~190k msg/s (%98.5 teslim).

İnsan onayına bırakılanlar REVIEW.md'de; kararlar decisions.md'de;
durum PORT-PROGRESS.md'de. Hiçbir issue kapatılmadı, stable'a dokunulmadı,
deploy/push yapılmadı.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 07:09:36 +03:00
abdussamedulutas c623016841 Revision 2026-04-23 23:10:05 +03:00
abdussamedulutas 1b02eb1bce Revision 2026-02-26 08:12:40 +03:00
abdussamedulutas d98ec6330e İçerik güncellemesi / Bugfix 2025-12-07 13:57:08 +03:00
abdussamedulutas 5627d6adac Message leak detecting 2025-11-01 21:03:14 +03:00
abdussamedulutas 33b57d7e67 WebDevice suite 2025-10-17 09:37:09 +03:00
abdussamedulutas 212e0151fa Merge branch 'perfectnogation' into stable 2025-08-01 22:27:28 +03:00
abdussamedulutas 3d8fb16d70 Stable index.js 2025-08-01 22:26:49 +03:00
abdussamedulutas 473dd62789 mh288 protokolü oluşturuldu 2025-08-01 21:17:28 +03:00
saqut 41b7a052ab Merge pull request 'perfectnogation' (#20) from perfectnogation into stable
Reviewed-on: #20
2025-07-14 23:25:51 +03:00
abdussamedulutas bcdbe5f3fd Perfect nogation bugfixed 2025-07-14 23:22:37 +03:00
abdussamedulutas 326682aa25 Perfect nogation 2025-07-13 17:31:42 +03:00
abdussamedulutas 055fdd47bd Test added perfect nogation 2025-07-13 16:48:22 +03:00
abdussamedulutas 965ca07853 Test Arayüzü 2025-07-13 16:09:06 +03:00
abdussamedulutas bd3373fd10 Perfect nogation 2025-07-13 16:00:47 +03:00
abdussamedulutas 7756caa0f8 Perfect nogation try 2025-07-13 15:10:29 +03:00
abdussamedulutas cbe424f3e3 Styling 2025-07-01 21:26:31 +03:00
abdussamedulutas b66adffd3a Grid analyze 2025-06-16 02:50:27 +03:00
abdussamedulutas 3ebf5cc1f5 Grid analyze 2025-06-16 02:44:47 +03:00
abdussamedulutas c6c42d4bd8 Peer xclient bug fixed 2025-03-21 22:30:07 +03:00
Abdussamed 640bff88c0 Reversed 2025-02-13 23:01:32 +03:00
Abdussamed 7becdd5a80 Hand 2025-01-16 20:34:03 +03:00
AbdussamedULUTAŞ a19ae8a746 Recaiving stream added 2024-04-17 16:02:46 +03:00
AbdussamedULUTAŞ 07ee1d4db0 Recaiving stream added 2024-04-17 16:02:27 +03:00
AbdussamedULUTAŞ 999274e946 Syntax error 'id' not allowed error fixed 2024-04-15 11:19:39 +03:00
Abdussamed 912f32e7ab Safely send disconnected peers 2024-04-05 10:57:16 +03:00
Abdussamed eeee824b20 Syntax error fixed 2024-04-05 10:30:39 +03:00
Abdussamed 8d3c116a0b Syntax error fixed 2024-04-05 10:28:07 +03:00
Abdussamed 6affbf19be Build bundle 2024-04-05 10:21:38 +03:00
Abdussamed 4cd68f4a7f Disconnected pair event added 2024-04-05 10:06:23 +03:00
Abdussamed 73b5ade3e1 Syntax fix 2024-04-03 16:03:02 +03:00
Abdussamed 8d076456e3 Syntax error 2024-04-03 04:45:54 +03:00
Abdussamed 2439907c59 Connection bug fix / More than debugging 2024-03-21 09:25:31 +03:00
saqut 63f054f6bf README.md Güncelle 2024-03-19 01:15:08 +03:00
Abdussamed 88d87c2c68 Stabilization 234 2024-03-19 01:14:20 +03:00
Abdussamed e9e7ebbbc1 Bugfix 2024-03-04 10:51:17 +03:00
Abdussamed 5175c2b456 Bug fix patch 2024-02-11 23:32:44 +03:00
Abdussamed 870ec96e9a Removed unusal files 2024-02-11 20:39:41 +03:00
saqut 3b3b480b72 README.md Güncelle 2024-02-10 22:30:12 +03:00
saqut 9325bf645f README.md Güncelle 2024-02-10 21:48:34 +03:00
Abdussamed 5c30f871c7 Frontend Connection yapılandırması 2024-02-10 18:16:22 +03:00
Abdussamed ee6b6fc9c3 Update packages #10 2023-11-04 20:37:49 +03:00
Abdussamed 9fe48fab77 Bitrate trials webrtc 2023-10-02 23:13:20 +03:00
Abdussamed 2a928381ec Room infodeveloped 2023-09-17 17:03:51 +03:00
saqut 2f218c2f8f 'README.md' güncelle 2023-07-18 20:57:20 +03:00
Abdussamed 6b6dcf26f3 Create Room Self Session #8 Build frontend 2023-07-06 20:38:41 +03:00