question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Replace everrest based Websocket calls with new RPC framework.

See original GitHub issue

The goal is to dismiss Everrest mechanism which opens Websocket channel to output long-lived async calls and use new JSON-RPC on top of Websockets instead (the one we currently use for FS Watchers and Exec agent).

This should be applied to every side of a triage: client-machine-master. Proposed tactic is following:

  • Add it to the master side and use for IDE-Master connection. The goal - to clean IDE removing Master Message Bus entities and prepare removing Everrest WS (EWS) components from the Master.
    • #4275 - Rework client for Project service in order to avoid using Everrest based Websocket calls - DONE
  • (may be performed in parallel with 1) Do the same for Machine (Agent) - IDE connection, remove Machine Message Bus from IDE (according to priority)
    • #4591 - Switch project importing output to the websocket JSON-RPC API endpoint - DONE
    • #4593 - Switch Debugger functionality to the websocket JSON-RPC API endpoint - DONE
    • #5346 - Rework client for Git service to avoid using Everrest based Websocket calls - DONE
    • #5349 - Rework Java plugin to avoid using Everrest based Websocket calls - DONE
    • #5350 - Rework Maven plugin to avoid using Everrest based Websocket calls - DONE
    • #5351 - Rework Testing plugin to avoid using Everrest based Websocket calls - DONE
    • #5348 - Rework Composer plugin to avoid using Everrest based Websocket calls - DONE
    • #5352 - Rework importing a project while consuming Factory to avoid using Everrest based Websocket calls - 2d - DONE
    • #5522 - Rework Navigate to File feature to avoid using Everrest based Websocket calls - DONE
    • #5523 - Rework Find Usages feature to avoid using Everrest based Websocket calls - DONE
    • #5524 - Rework Language Server plugin to avoid using Everrest based Websocket calls - CANCELLED
  • (depends on 1) Declare EWS mechanism/components as deprecated, apply new implementation for UD - Master connection and remove EWS using there in 4 weeks.
  • (depends on 2) same as 3 for Machine (Ws-Agent).
  • Remove EWS from workspace master in SPI branch
  • Rework CLI to avoid using Everrest based Websocket calls #5841

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
azatsarynnyycommented, Jul 3, 2017

I’ve added three more tasks (#5522, #5523, #5524) to this epic since several features which use Everrest based Websocket calls were found recently.

1reaction
vparfonovcommented, Jul 28, 2017

@benoitf Can you take a look https://github.com/eclipse/che/issues/5841? Looks like you are best person for it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rework CLI to avoid using Everrest based Websocket calls · Issue ...
Rework CLI to avoid using Everrest based Websocket calls #5841 ... Replace everrest based Websocket calls with new RPC framework. #4459.
Read more >
WebSocket MicroService vs. REST Microservice - SlideShare
Comparing the speed of RPC calls over WebScoket Microservices versus REST based microservices. Using wrk, QBit, and examples in Java we show ...
Read more >
RPC vs WebSocket Performance - Medium
A Comparison between WebSocket and RPC Connections in Web3js ... two functions for reading transaction calls to the SimpleStorage contract.
Read more >
BRKNMS-3021 - Cisco Live
Problem: How to programmatically interact with a device – in a model-based, machine- consumable, loosely coupled, easy to understand and standards-based way?
Read more >
Use JSON-RPC over HTTP, WebSocket, and IPC
Use the geth console to call JSON-RPC API methods that geth and ... To make RPC requests over WebSocket, you can use wscat...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found