Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancements for Read RPC: Compatibility with near-indexer and Handling Optimistic Blocks #10692

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

kobayurii
Copy link
Member

Hello everyone!

This pull request addresses two urgent tasks related to our project's Read RPC functionality.

Issue 1:
Making our state-indexer compatible with the near-indexer to eliminate the 3-second delay caused by Lake-framework. This compatibility enhancement ensures smoother and more efficient operation of our system by removing unnecessary delays.

Issue 2:
Enhancing our service to handle requests for optimistic blocks directly, without proxying to nodes. This optimization streamlines the process, improving response times and overall system performance.

To achieve these tasks, modifications have been made to the near-indexer. Specifically, the build_streamer_message method has been made public to facilitate the creation of StreamerMessage for optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and performance of our Read RPC functionality, addressing critical needs within our project.

@kobayurii kobayurii requested a review from a team as a code owner March 1, 2024 15:35
@kobayurii kobayurii requested a review from akhi3030 March 1, 2024 15:35
Copy link
Member

@khorolets khorolets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This tiny change opens a huge ability for proficient indexer builders 🥰

@khorolets khorolets enabled auto-merge March 1, 2024 15:39
@khorolets khorolets added this pull request to the merge queue Mar 1, 2024
Merged via the queue into near:master with commit 30cc5f5 Mar 1, 2024
24 of 25 checks passed
kobayurii added a commit to kobayurii/nearcore that referenced this pull request Mar 20, 2024
…ng Optimistic Blocks (near#10692)

Hello everyone!

This pull request addresses two urgent tasks related to our project's
[Read RPC](https://github.com/near/read-rpc) functionality.

[Issue 1](near/read-rpc#188): 
Making our state-indexer compatible with the near-indexer to eliminate
the 3-second delay caused by
[Lake-framework](https://github.com/near/near-lake-framework-rs). This
compatibility enhancement ensures smoother and more efficient operation
of our system by removing unnecessary delays.

[Issue 2](near/read-rpc#186): 
Enhancing our service to handle requests for optimistic blocks directly,
without proxying to nodes. This optimization streamlines the process,
improving response times and overall system performance.

To achieve these tasks, modifications have been made to the
near-indexer. Specifically, the `build_streamer_message` method has been
made public to facilitate the creation of `StreamerMessage` for
optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and
performance of our Read RPC functionality, addressing critical needs
within our project.
khorolets pushed a commit that referenced this pull request Apr 9, 2024
…ng Optimistic Blocks (#10692)

Hello everyone!

This pull request addresses two urgent tasks related to our project's
[Read RPC](https://github.com/near/read-rpc) functionality.

[Issue 1](near/read-rpc#188): 
Making our state-indexer compatible with the near-indexer to eliminate
the 3-second delay caused by
[Lake-framework](https://github.com/near/near-lake-framework-rs). This
compatibility enhancement ensures smoother and more efficient operation
of our system by removing unnecessary delays.

[Issue 2](near/read-rpc#186): 
Enhancing our service to handle requests for optimistic blocks directly,
without proxying to nodes. This optimization streamlines the process,
improving response times and overall system performance.

To achieve these tasks, modifications have been made to the
near-indexer. Specifically, the `build_streamer_message` method has been
made public to facilitate the creation of `StreamerMessage` for
optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and
performance of our Read RPC functionality, addressing critical needs
within our project.
kobayurii added a commit to kobayurii/nearcore that referenced this pull request Apr 9, 2024
…ng Optimistic Blocks (near#10692)

Hello everyone!

This pull request addresses two urgent tasks related to our project's
[Read RPC](https://github.com/near/read-rpc) functionality.

[Issue 1](near/read-rpc#188): 
Making our state-indexer compatible with the near-indexer to eliminate
the 3-second delay caused by
[Lake-framework](https://github.com/near/near-lake-framework-rs). This
compatibility enhancement ensures smoother and more efficient operation
of our system by removing unnecessary delays.

[Issue 2](near/read-rpc#186): 
Enhancing our service to handle requests for optimistic blocks directly,
without proxying to nodes. This optimization streamlines the process,
improving response times and overall system performance.

To achieve these tasks, modifications have been made to the
near-indexer. Specifically, the `build_streamer_message` method has been
made public to facilitate the creation of `StreamerMessage` for
optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and
performance of our Read RPC functionality, addressing critical needs
within our project.
kobayurii added a commit to kobayurii/nearcore that referenced this pull request Apr 23, 2024
…ng Optimistic Blocks (near#10692)

Hello everyone!

This pull request addresses two urgent tasks related to our project's
[Read RPC](https://github.com/near/read-rpc) functionality.

[Issue 1](near/read-rpc#188): 
Making our state-indexer compatible with the near-indexer to eliminate
the 3-second delay caused by
[Lake-framework](https://github.com/near/near-lake-framework-rs). This
compatibility enhancement ensures smoother and more efficient operation
of our system by removing unnecessary delays.

[Issue 2](near/read-rpc#186): 
Enhancing our service to handle requests for optimistic blocks directly,
without proxying to nodes. This optimization streamlines the process,
improving response times and overall system performance.

To achieve these tasks, modifications have been made to the
near-indexer. Specifically, the `build_streamer_message` method has been
made public to facilitate the creation of `StreamerMessage` for
optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and
performance of our Read RPC functionality, addressing critical needs
within our project.
khorolets pushed a commit that referenced this pull request Apr 23, 2024
…ng Optimistic Blocks (#10692)

Hello everyone!

This pull request addresses two urgent tasks related to our project's
[Read RPC](https://github.com/near/read-rpc) functionality.

[Issue 1](near/read-rpc#188): 
Making our state-indexer compatible with the near-indexer to eliminate
the 3-second delay caused by
[Lake-framework](https://github.com/near/near-lake-framework-rs). This
compatibility enhancement ensures smoother and more efficient operation
of our system by removing unnecessary delays.

[Issue 2](near/read-rpc#186): 
Enhancing our service to handle requests for optimistic blocks directly,
without proxying to nodes. This optimization streamlines the process,
improving response times and overall system performance.

To achieve these tasks, modifications have been made to the
near-indexer. Specifically, the `build_streamer_message` method has been
made public to facilitate the creation of `StreamerMessage` for
optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and
performance of our Read RPC functionality, addressing critical needs
within our project.
kobayurii added a commit to kobayurii/nearcore that referenced this pull request May 13, 2024
…ng Optimistic Blocks (near#10692)

Hello everyone!

This pull request addresses two urgent tasks related to our project's
[Read RPC](https://github.com/near/read-rpc) functionality.

[Issue 1](near/read-rpc#188): 
Making our state-indexer compatible with the near-indexer to eliminate
the 3-second delay caused by
[Lake-framework](https://github.com/near/near-lake-framework-rs). This
compatibility enhancement ensures smoother and more efficient operation
of our system by removing unnecessary delays.

[Issue 2](near/read-rpc#186): 
Enhancing our service to handle requests for optimistic blocks directly,
without proxying to nodes. This optimization streamlines the process,
improving response times and overall system performance.

To achieve these tasks, modifications have been made to the
near-indexer. Specifically, the `build_streamer_message` method has been
made public to facilitate the creation of `StreamerMessage` for
optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and
performance of our Read RPC functionality, addressing critical needs
within our project.
kobayurii added a commit to kobayurii/nearcore that referenced this pull request May 13, 2024
…ng Optimistic Blocks (near#10692)

Hello everyone!

This pull request addresses two urgent tasks related to our project's
[Read RPC](https://github.com/near/read-rpc) functionality.

[Issue 1](near/read-rpc#188): 
Making our state-indexer compatible with the near-indexer to eliminate
the 3-second delay caused by
[Lake-framework](https://github.com/near/near-lake-framework-rs). This
compatibility enhancement ensures smoother and more efficient operation
of our system by removing unnecessary delays.

[Issue 2](near/read-rpc#186): 
Enhancing our service to handle requests for optimistic blocks directly,
without proxying to nodes. This optimization streamlines the process,
improving response times and overall system performance.

To achieve these tasks, modifications have been made to the
near-indexer. Specifically, the `build_streamer_message` method has been
made public to facilitate the creation of `StreamerMessage` for
optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and
performance of our Read RPC functionality, addressing critical needs
within our project.
kobayurii added a commit to kobayurii/nearcore that referenced this pull request May 13, 2024
…ng Optimistic Blocks (near#10692)

Hello everyone!

This pull request addresses two urgent tasks related to our project's
[Read RPC](https://github.com/near/read-rpc) functionality.

[Issue 1](near/read-rpc#188): 
Making our state-indexer compatible with the near-indexer to eliminate
the 3-second delay caused by
[Lake-framework](https://github.com/near/near-lake-framework-rs). This
compatibility enhancement ensures smoother and more efficient operation
of our system by removing unnecessary delays.

[Issue 2](near/read-rpc#186): 
Enhancing our service to handle requests for optimistic blocks directly,
without proxying to nodes. This optimization streamlines the process,
improving response times and overall system performance.

To achieve these tasks, modifications have been made to the
near-indexer. Specifically, the `build_streamer_message` method has been
made public to facilitate the creation of `StreamerMessage` for
optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and
performance of our Read RPC functionality, addressing critical needs
within our project.
kobayurii added a commit to kobayurii/nearcore that referenced this pull request May 13, 2024
…ng Optimistic Blocks (near#10692)

Hello everyone!

This pull request addresses two urgent tasks related to our project's
[Read RPC](https://github.com/near/read-rpc) functionality.

[Issue 1](near/read-rpc#188): 
Making our state-indexer compatible with the near-indexer to eliminate
the 3-second delay caused by
[Lake-framework](https://github.com/near/near-lake-framework-rs). This
compatibility enhancement ensures smoother and more efficient operation
of our system by removing unnecessary delays.

[Issue 2](near/read-rpc#186): 
Enhancing our service to handle requests for optimistic blocks directly,
without proxying to nodes. This optimization streamlines the process,
improving response times and overall system performance.

To achieve these tasks, modifications have been made to the
near-indexer. Specifically, the `build_streamer_message` method has been
made public to facilitate the creation of `StreamerMessage` for
optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and
performance of our Read RPC functionality, addressing critical needs
within our project.
kobayurii added a commit to kobayurii/nearcore that referenced this pull request May 14, 2024
…ng Optimistic Blocks (near#10692)

Hello everyone!

This pull request addresses two urgent tasks related to our project's
[Read RPC](https://github.com/near/read-rpc) functionality.

[Issue 1](near/read-rpc#188): 
Making our state-indexer compatible with the near-indexer to eliminate
the 3-second delay caused by
[Lake-framework](https://github.com/near/near-lake-framework-rs). This
compatibility enhancement ensures smoother and more efficient operation
of our system by removing unnecessary delays.

[Issue 2](near/read-rpc#186): 
Enhancing our service to handle requests for optimistic blocks directly,
without proxying to nodes. This optimization streamlines the process,
improving response times and overall system performance.

To achieve these tasks, modifications have been made to the
near-indexer. Specifically, the `build_streamer_message` method has been
made public to facilitate the creation of `StreamerMessage` for
optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and
performance of our Read RPC functionality, addressing critical needs
within our project.
kobayurii added a commit to kobayurii/nearcore that referenced this pull request May 14, 2024
…ng Optimistic Blocks (near#10692)

Hello everyone!

This pull request addresses two urgent tasks related to our project's
[Read RPC](https://github.com/near/read-rpc) functionality.

[Issue 1](near/read-rpc#188): 
Making our state-indexer compatible with the near-indexer to eliminate
the 3-second delay caused by
[Lake-framework](https://github.com/near/near-lake-framework-rs). This
compatibility enhancement ensures smoother and more efficient operation
of our system by removing unnecessary delays.

[Issue 2](near/read-rpc#186): 
Enhancing our service to handle requests for optimistic blocks directly,
without proxying to nodes. This optimization streamlines the process,
improving response times and overall system performance.

To achieve these tasks, modifications have been made to the
near-indexer. Specifically, the `build_streamer_message` method has been
made public to facilitate the creation of `StreamerMessage` for
optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and
performance of our Read RPC functionality, addressing critical needs
within our project.
kobayurii added a commit to kobayurii/nearcore that referenced this pull request May 14, 2024
…ng Optimistic Blocks (near#10692)

Hello everyone!

This pull request addresses two urgent tasks related to our project's
[Read RPC](https://github.com/near/read-rpc) functionality.

[Issue 1](near/read-rpc#188): 
Making our state-indexer compatible with the near-indexer to eliminate
the 3-second delay caused by
[Lake-framework](https://github.com/near/near-lake-framework-rs). This
compatibility enhancement ensures smoother and more efficient operation
of our system by removing unnecessary delays.

[Issue 2](near/read-rpc#186): 
Enhancing our service to handle requests for optimistic blocks directly,
without proxying to nodes. This optimization streamlines the process,
improving response times and overall system performance.

To achieve these tasks, modifications have been made to the
near-indexer. Specifically, the `build_streamer_message` method has been
made public to facilitate the creation of `StreamerMessage` for
optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and
performance of our Read RPC functionality, addressing critical needs
within our project.
kobayurii added a commit to kobayurii/nearcore that referenced this pull request May 14, 2024
…ng Optimistic Blocks (near#10692)

Hello everyone!

This pull request addresses two urgent tasks related to our project's
[Read RPC](https://github.com/near/read-rpc) functionality.

[Issue 1](near/read-rpc#188): 
Making our state-indexer compatible with the near-indexer to eliminate
the 3-second delay caused by
[Lake-framework](https://github.com/near/near-lake-framework-rs). This
compatibility enhancement ensures smoother and more efficient operation
of our system by removing unnecessary delays.

[Issue 2](near/read-rpc#186): 
Enhancing our service to handle requests for optimistic blocks directly,
without proxying to nodes. This optimization streamlines the process,
improving response times and overall system performance.

To achieve these tasks, modifications have been made to the
near-indexer. Specifically, the `build_streamer_message` method has been
made public to facilitate the creation of `StreamerMessage` for
optimistic blocks.

This pull request aims to enhance the reliability, efficiency, and
performance of our Read RPC functionality, addressing critical needs
within our project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants