awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
rengwuxian avatar

rengwuxian/RxJavaSamples

0
View on GitHub↗
3,912 星标·850 分支·Java·7 次浏览

RxJavaSamples

RxJavaSamples 是一个参考实现和实践指南集合,用于将响应式模式应用于异步网络和状态管理。它提供了将响应式流与 Retrofit 集成的代码演示,以非阻塞方式处理网络请求。

该项目专注于管理 API 调用的异步模式,包括组合并发流以及使用 Subject 缓存发射的值以进行状态管理。它特别演示了如何实现自动化令牌刷新工作流,以在不中断用户的情况下维护已认证的会话。

该仓库涵盖了请求编排中更广泛的功能,例如对依赖网络调用进行排序,以及将多个并行请求聚合为单个响应对象。它还包括用于响应数据格式化和将 API 响应适配映射为结构化 Java 对象的实现。

Features

  • Reactive Networking - Provides a comprehensive implementation of non-blocking network programming using RxJava and Retrofit.
  • RxJava Android Guides - Offers practical guides and examples for integrating RxJava reactive streams with Retrofit.
  • Automatic Token Refreshes - Automatically refreshes expired authentication tokens by intercepting network responses and retrying calls.
  • Observable Streams - Processes asynchronous network events as observable data streams for real-time updates.
  • Asynchronous Patterns - Implements asynchronous patterns using RxJava for stream combination and state management.
  • Implementation Samples - Provides practical code demonstrations for managing asynchronous API calls and request orchestration.
  • Request Chaining - Implements the chaining of dependent network calls where one response informs the next request.
  • Parallel Request Executions - Provides mechanisms to execute multiple network requests concurrently to reduce total wait time.
  • Parallel Data Fetching - Executes multiple API requests simultaneously and merges results into a single data stream.
  • Last Value Caching - Implements last-value caching to provide new subscribers with the most recent state of a stream.
  • Reactive Stream Caching - Uses BehaviorSubjects to cache the latest emitted value for immediate state recovery.
  • Asynchronous Operation Chaining - Sequences dependent network calls by piping the output of one reactive request into the input of another.
  • Concurrent Aggregators - Combines multiple concurrent network requests into a single response object using zip operators.
  • Response Formatting - Converts raw API response data into structured formats for easier processing by observers.
  • Response Type Mapping - Converts raw API responses into structured Java objects using reactive transformation operators.

Star 历史

rengwuxian/rxjavasamples 的 Star 历史图表rengwuxian/rxjavasamples 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

RxJavaSamples 的开源替代方案

相似的开源项目,按与 RxJavaSamples 的功能重合度排序。
  • amitshekhariitbhu/rxjava2-android-samplesamitshekhariitbhu 的头像

    amitshekhariitbhu/RxJava2-Android-Samples

    4,917在 GitHub 上查看↗

    This repository is a collection of practical implementation patterns and reference samples for using RxJava 2 to manage asynchronous data streams in Android applications. It serves as a reactive programming implementation guide, providing code examples for handling complex event-driven logic and asynchronous patterns within mobile environments. The project distinguishes itself by providing specific reference implementations for common mobile challenges, such as real-time search with debouncing, on-demand list pagination for infinite scrolling, and cache-first data streaming to reduce perceive

    Javaandroidexampleexamples
    在 GitHub 上查看↗4,917
  • kaushikgopal/rxjava-android-sampleskaushikgopal 的头像

    kaushikgopal/RxJava-Android-Samples

    7,504在 GitHub 上查看↗

    This project is a sample library and implementation guide for using RxJava to manage asynchronous data streams and concurrent tasks in Android applications. It provides a collection of reference implementations for reactive programming, focusing on functional operators to transform and combine asynchronous data flows. The library demonstrates specific Android architectural patterns, such as implementing decoupled event buses for component communication and coordinating parallel network requests. It includes concrete examples of mobile-specific patterns including search input debouncing, list

    Javaconcurrencyexamplejava
    在 GitHub 上查看↗7,504
  • facebook/haxlfacebook 的头像

    facebook/Haxl

    4,381在 GitHub 上查看↗

    Haxl is a Haskell library and remote service request orchestrator designed for coordinating concurrent data fetching, request batching, and caching across multiple remote service providers. It functions as a framework for retrieving data from external databases and web services while minimizing network round trips. The project distinguishes itself through an applicative-based request batching system that groups multiple individual data requests into single calls to reduce network overhead. It employs an asynchronous parallel request scheduler to execute independent requests concurrently and u

    Haskell
    在 GitHub 上查看↗4,381
  • servicestack/servicestackServiceStack 的头像

    ServiceStack/ServiceStack

    5,498在 GitHub 上查看↗

    ServiceStack is a high-performance .NET web framework designed for building type-safe APIs using strongly-typed request and response objects. It functions as a message-based API engine that decouples business logic from the transport layer, allowing services to be exposed via multiple protocols including HTTP, gRPC, and various message queue providers. The framework is distinguished by its type-safe API generator, which produces native client SDKs and data transfer objects from service metadata across multiple languages. It also includes a distributed service gateway for microservices orchest

    C#c-sharpcsvframework
    在 GitHub 上查看↗5,498
查看 RxJavaSamples 的所有 30 个替代方案→

常见问题解答

rengwuxian/rxjavasamples 是做什么的?

RxJavaSamples 是一个参考实现和实践指南集合,用于将响应式模式应用于异步网络和状态管理。它提供了将响应式流与 Retrofit 集成的代码演示,以非阻塞方式处理网络请求。

rengwuxian/rxjavasamples 的主要功能有哪些?

rengwuxian/rxjavasamples 的主要功能包括:Reactive Networking, RxJava Android Guides, Automatic Token Refreshes, Observable Streams, Asynchronous Patterns, Implementation Samples, Request Chaining, Parallel Request Executions。

rengwuxian/rxjavasamples 有哪些开源替代品?

rengwuxian/rxjavasamples 的开源替代品包括: amitshekhariitbhu/rxjava2-android-samples — This repository is a collection of practical implementation patterns and reference samples for using RxJava 2 to… kaushikgopal/rxjava-android-samples — This project is a sample library and implementation guide for using RxJava to manage asynchronous data streams and… servicestack/servicestack — ServiceStack is a high-performance .NET web framework designed for building type-safe APIs using strongly-typed… facebook/haxl — Haxl is a Haskell library and remote service request orchestrator designed for coordinating concurrent data fetching,… square/retrofit — Retrofit is a type-safe HTTP client that simplifies network communication by allowing developers to define API… huachao/vscode-restclient — This is a Visual Studio Code extension that lets developers compose, send, and inspect HTTP requests directly from…