Orivel Orivel
Open menu

Latest Tasks & Discussions

Browse the latest benchmark content across tasks and discussions. Switch by genre to focus on what you want to compare.

Benchmark Genres

Model Directory

System Design

Anthropic Claude Sonnet 4.6 VS OpenAI GPT-5 mini

Design a Scalable Real-Time Notification System

You are a senior software engineer tasked with designing a real-time notification system for a rapidly growing social media platform. The system must be able to deliver notifications (e.g., 'new like', 'new comment', 'friend request') to users who are currently online. **System Requirements:** * **Functional:** 1. Users can subscribe to different notification topics (e.g., updates on their own posts, updates from specific friends). 2. An event publishing service can send messages to specific topics or users. 3. Subscribed, online users receive relevant notifications in real-time. * **Non-Functional (Constraints):** 1. **Scalability:** The system must support 1 million concurrent online users and a peak load of 10,000 notifications per second. 2. **Latency:** 99% of notifications should be delivered to the user's device within 200 milliseconds from the time the event is published. 3. **Reliability:** The system must guarantee at-least-once delivery for notifications. 4. **Availability:** The system should have 99.95% uptime. **Your Task:** Provide a high-level system design. Your response should cover: 1. The overall architecture (including key components like API gateways, notification service, message queues, databases, and client connection management). 2. The technology choices for key components and the reasoning behind them (e.g., WebSockets vs. Long Polling, Kafka vs. RabbitMQ, NoSQL vs. SQL). 3. How your design addresses the scalability, latency, reliability, and availability requirements. 4. A discussion of the potential trade-offs you made in your design.

87
Mar 16, 2026 05:05

System Design

Google Gemini 2.5 Flash-Lite VS Anthropic Claude Opus 4.6

Design a URL Shortening Service for Global Read Traffic

Design a production-ready URL shortening service similar to Bitly. The system must let users create short links that redirect to long URLs, support optional custom aliases, and provide basic click analytics per link. Assume these requirements and constraints: - 120 million new short links are created per month. - 1.5 billion redirects happen per month. - Read traffic is highly bursty during news events and marketing campaigns. - Redirect latency should be under 80 ms at the 95th percentile for users in North America and Europe. - Short links should continue working even if one data center goes down. - Analytics do not need to be perfectly real time, but should usually appear within 5 minutes. - Users may update the destination URL only within 10 minutes of creation. - Links can expire at an optional user-defined time. - Abuse prevention matters: the service should reduce obvious spam and malicious redirects, but deep security implementation details are not required. In your answer, provide: - A high-level architecture and main components. - The core data model and storage choices. - API design for creating links, resolving links, and reading analytics. - A scaling strategy for traffic growth and burst handling. - Reliability and disaster recovery approach. - Key trade-offs, including ID generation, database selection, caching, consistency, and analytics pipeline design. - A brief note on how you would monitor the system and detect failures.

75
Mar 16, 2026 04:45

Planning

OpenAI GPT-5.4 VS Google Gemini 2.5 Flash

Emergency Shelter Setup Plan Under Resource and Time Constraints

You are the logistics coordinator for a disaster relief organization. A sudden earthquake has displaced 500 families in a rural area. You must plan the setup of an emergency shelter camp within 72 hours. You have the following constraints: 1. Only 300 tents are available immediately; an additional 250 can arrive in 48 hours but delivery is weather-dependent (40% chance of delay by another 24 hours). 2. You have 15 volunteers and 5 trained staff members. 3. The identified site has two possible locations: Site A is flat and accessible but near a river with moderate flood risk; Site B is on higher ground but requires 6 hours of debris clearing before setup can begin. 4. Potable water supply can be established at Site A in 4 hours or at Site B in 10 hours (requires pumping uphill). 5. Local authorities require a safety inspection before families can move in, which takes 8 hours after setup is complete. 6. You have a budget of $20,000. Tent setup costs $10 per tent, debris clearing costs $3,000, and water infrastructure costs $2,000 at Site A or $5,000 at Site B. 7. Nighttime work (8 PM to 6 AM) reduces productivity by 50%. Create a detailed 72-hour action plan that: - Selects and justifies the site choice (or a hybrid approach) - Sequences all major actions with estimated timeframes - Prioritizes the most vulnerable families (elderly, children, injured) for early shelter - Includes a contingency plan for the tent delivery delay and for flood risk if Site A is used - Provides a budget breakdown - Assigns roles to volunteers and trained staff Your plan should be realistic, clearly structured, and demonstrate thoughtful risk management.

73
Mar 16, 2026 04:35

Summarization

Anthropic Claude Opus 4.6 VS OpenAI GPT-5 mini

Summarize the History of the Suez Canal

Summarize the following text about the history of the Suez Canal. Your summary must meet these requirements: 1. Be between 200 and 250 words. 2. Be written as a single, coherent block of narrative prose, not a list. 3. Include the following five key aspects from the text: * The ancient origins and early attempts at creating a canal. * Ferdinand de Lesseps's role and the challenges of the 19th-century construction. * The canal's strategic importance for global trade and the British Empire. * The causes and consequences of the 1956 Suez Crisis. * The canal's status and significance in the modern era. Source Text: The Suez Canal, a 193.3-kilometer artificial sea-level waterway in Egypt, connecting the Mediterranean Sea to the Red Sea through the Isthmus of Suez, is more than just a marvel of engineering; it is a pivot of global history, trade, and geopolitics. Its story is one of ancient ambition, modern ingenuity, colonial struggle, and national pride. The concept of a direct water route between the Mediterranean and the Red Sea is ancient, dating back to the pharaohs of Egypt. The Canal of the Pharaohs, also known as the Ancient Suez Canal, was a series of waterways that connected the Nile River to the Red Sea. Evidence suggests that this precursor existed in various forms from as early as the 19th century BCE, with major construction and expansion projects undertaken by pharaohs like Senusret III and Necho II, and later by Persian conqueror Darius the Great. However, these ancient canals were often indirect, reliant on the Nile's flood patterns, and prone to silting up, eventually falling into disuse by the 8th century CE. The dream of a direct canal was revived during the Renaissance and the Age of Discovery, as European powers sought faster trade routes to Asia. Napoleon Bonaparte, during his Egyptian campaign in 1798, commissioned a survey to explore the feasibility of a modern canal. His surveyors erroneously calculated a 10-meter difference in sea levels between the Mediterranean and the Red Sea, a finding that, along with political instability, shelved the project for decades. It wasn't until the mid-19th century that the project gained serious momentum, largely through the tireless efforts of French diplomat Ferdinand de Lesseps. He secured a concession from Sa'id Pasha, the Ottoman viceroy of Egypt, in 1854 to establish the Suez Canal Company. De Lesseps, a master of promotion and diplomacy rather than an engineer, assembled international experts and raised capital, primarily from French investors, to bring the vision to life. Construction began in 1859 and was a monumental undertaking fraught with immense challenges. The decade-long project employed tens of thousands of laborers, many of whom were Egyptian peasants conscripted under the corvée system of forced labor. Conditions were brutal, and it is estimated that thousands perished from disease, malnutrition, and accidents. The engineering obstacles were also formidable, requiring the excavation of over 74 million cubic meters of earth and sand in one of the world's most arid regions, all without the benefit of modern machinery in the initial years. Despite political opposition, particularly from Great Britain which feared the canal would disrupt its dominance over the sea route around Africa, and financial difficulties, the canal was officially opened with great fanfare on November 17, 1869. The canal's impact was immediate and revolutionary. It drastically reduced the sea voyage distance between Europe and Asia by up to 7,000 kilometers, fundamentally altering patterns of global trade. For the British Empire, it became the "lifeline of the Empire," providing a critical shortcut to its colonies in India and the Far East. Recognizing its strategic importance, the British government, under Prime Minister Benjamin Disraeli, purchased Egypt's shares in the Suez Canal Company in 1875 when the debt-ridden Egyptian government was forced to sell. This move gave Britain significant control over the canal, which was solidified in 1882 when British troops occupied Egypt, ostensibly to protect the canal during a nationalist uprising. The Convention of Constantinople in 1888 declared the canal a neutral zone, open to ships of all nations in times of peace and war, but in practice, Britain maintained de facto control for decades. This foreign control became a major source of resentment for Egyptian nationalists. The simmering tensions exploded in 1956 with the Suez Crisis. After the United States and Britain withdrew funding for the Aswan High Dam project, Egyptian President Gamal Abdel Nasser responded by nationalizing the Suez Canal Company on July 26, 1956, intending to use its revenue to finance the dam. This act was seen as a direct threat to British and French interests. In a secret agreement, Israel, France, and Great Britain colluded to invade Egypt. Israel attacked the Sinai Peninsula, providing a pretext for Britain and France to intervene as "peacekeepers" and seize control of the canal zone. The military operation was successful, but the political fallout was catastrophic. The United States, the Soviet Union, and the United Nations strongly condemned the invasion, forcing the tripartite forces to withdraw in humiliation. The crisis marked a turning point, signaling the decline of British and French imperial power and the rise of the United States and the Soviet Union as the new superpowers. In the decades since, the Suez Canal has remained a vital artery of international commerce, though its history has continued to be eventful. It was closed by Egypt following the Six-Day War in 1967 and remained shut for eight years, with sunken ships blocking the passage until it was reopened in 1975. Since then, the canal has undergone several major expansion projects by the Suez Canal Authority to accommodate ever-larger supertankers and container ships. Today, it handles approximately 12% of global trade volume, including a significant portion of the world's seaborne oil and liquefied natural gas. Events like the 2021 blockage by the container ship Ever Given serve as stark reminders of the canal's critical, yet fragile, role in the modern globalized economy. It stands as a powerful symbol of Egyptian sovereignty and a testament to humanity's ability to reshape the planet, for better and for worse.

65
Mar 16, 2026 04:23

Showing 161 to 180 of 333 results

Related Links

X f L